package com.briup.es.domain.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class OrderCreateDTO implements Serializable {
    @NotBlank(message = "必须提供收货人称呼")
    private String receiveUsername;
    @NotBlank(message = "必须提供收货人的地址")
    private String receiveAddress;
    @NotBlank(message = "必须提供收货人联系方式")
    private String receivePhone;
    @NotNull(message = "必须提供对应的商品id")
    private List<Integer> shopCarIds;
}
